%h4 Captures
%table.table.table-bordered.table.hover
  %thead
    %tr.bg-primary
      %th ID
      %th Name
      %th Raw Binary
      %th Actions
  %tbody
    - unit.captures.each do |u|
      %tr
        %td= u.id
        %td= u.name

        %td{:style=>"max-width:200px; word-wrap:break-word;"}
          / - u.original_binary.scan(/.{1,40}/).each do |s|
          /   ="#{s}"
          /   %br
          = u.original_binary
        %td{:style => "width:15%;"}
          = link_to 'Destroy', u, :method => :delete, :data => { :confirm => 'Are you sure?' }
          %div.col-lg-12